package org.zjx.dao.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务器表
 * </p>
 *
 * @author 
 * @since 2025-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("server")
public class Server implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 服务器编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 总服务器名称
     */
    private String mainName;

    /**
     * 总服务器点击坐标
     */
    private String mainLocation;

    /**
     * 子服务器名称
     */
    private String subName;

    /**
     * 子服务器点击地址
     */
    private String subLocation;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Boolean deleted;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
